package com.xquant.pricing.calc.entity.simple;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @Author: xpp -_- -_-
 * @Date: 2021/11/2 13:42
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Header {
    @JsonProperty
    private String Serial_No;//报文流水号
    @JsonProperty
    private String Ext_No; //外部成交编号
    @JsonProperty
    private String Action; //接口功能号
    @JsonProperty
    private String Timestmp;//时间戳
    @JsonProperty
    private String User;//用户ID
    @JsonProperty
    private String Requestsysname;//交易信息来源

    public Header(String serial_No, String ext_No, String action, String timestmp, String user, String requestsysname) {
        Serial_No = serial_No;
        Ext_No = ext_No;
        Action = action;
        Timestmp = timestmp;
        User = user;
        Requestsysname = requestsysname;
    }

    public Header() {
    }

    public String getSerialNo() {
        return Serial_No;
    }

    public void setSerialNo(String serialNo) {
        this.Serial_No = serialNo;
    }

    public String getExt_No() {
        return Ext_No;
    }

    public void setExt_No(String ext_No) {
        Ext_No = ext_No;
    }

    public String getAction() {
        return Action;
    }

    public void setAction(String action) {
        Action = action;
    }

    public String getTimestmp() {
        return Timestmp;
    }

    public void setTimestmp(String timestmp) {
        Timestmp = timestmp;
    }

    public String getUser() {
        return User;
    }

    public void setUser(String user) {
        User = user;
    }

    public String getRequestsysname() {
        return Requestsysname;
    }

    public void setRequestsysname(String requestsysname) {
        Requestsysname = requestsysname;
    }
}
